<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ page isELIgnored='false'%>
<div class="filter">
<table>
  <tr>
    <th>Display records labeled with:</th>
    <td>
    <form name="clabelFilterForm"><select
      name="clabelFilterSelector" onchange="clabelFilterAction();">      
      <option value='-1'>None</option>
      <option value='0'>Any</option>
      <c:forEach items="${clabels}" var="clabel">
        <option value='<c:out value="${clabel.conversationLabelId}"/>'>
        <c:out value="${clabel.label}" /></option>
      </c:forEach>
    </select></form>
    </td>
  </tr>
  <tr>
    <th>Number of conversations:</th>
    <td><c:out value="${fn:length(conversations)}" /></td>
  </tr>
</table>
</div>
